/**
 * Created by hgq on 2017/2/15.
 */
import React,{Component} from 'react';
import {AppRegistry,View} from 'react-native';

class AlignItems extends Component{
    render(){
        return(
            <View style={{
                flex:1,
                flexDirection:'column',
                justifyContent:'center',
                alignItems:'center'
            }}>
                <View style={{width: 50, height: 50, backgroundColor: 'powderblue'}} />
                <View style={{width: 50, height: 50, backgroundColor: 'skyblue'}} />
                <View style={{width: 50, height: 50, backgroundColor: 'steelblue'}} />
            </View>
        )
    }
}
export default AlignItems;
